import request from '@/utils/request';

// 获取员工调动记录
export const getEmployeeMovementAPI = ({ name, movementDate, page, limit }) => {
  return request({
    url: '/personnelManagement/employeemovement/getEmployeeMovement',
    method: 'POST',
    data: {
      name,
      movementDate,
      page,
      limit,
    },
  });
};

// 获取员工岗位追踪列表
export const getjobManagelistAPI = ({ employeeId }) => {
  return request({
    url: '/personnelManagement/employeemovement/getEmployeeMovementByEmpId',
    method: 'POST',
    data: {
      employeeId,
    },
  });
};
